<template>
  <div class="detailSwiper">
    <swiper class="detailContent">
      <swiper-item
        v-for="(item,index) in detailBanner"
        :key="index"
        class="detailSwiperItem"
      >
        <img :src="item" alt="">
      </swiper-item>
    </swiper>
  </div>
</template>

<script>
import {Swiper, SwiperItem} from 'components/common/swiper'

export default {
  name: "DetailSwiper",
  components: {Swiper, SwiperItem},
  props: {
    detailBanner: {
      type: Array,
      default() {
        return []
      }
    },

  }
}
</script>

<style scoped>
.detailSwiper {

}

.detailSwiper .detailContent {
  height: 300px;
  overflow: hidden;
}
</style>
